package com.tinem.platform.client.pay;

import com.tinem.platform.module.pojo.vo.pay.OrdeCreateReq;
import com.tinem.platform.module.pojo.vo.pay.OrdeCreateRes;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @program: platform
 * @description: ${description}
 * @author: eden#can
 * @Slogan: 没有所谓失败，除非你不再尝试
 * @date: 2021-12-29 22:29
 **/
@FeignClient("platform-cloud-service-pay")
public interface OrderClinet {

    @GetMapping("/order/create.api")
    @ResponseBody
    OrdeCreateRes crete(@RequestBody OrdeCreateReq req);
}
